App({
  globalData: {
    windowHeight:0,
  },
  onLaunch: function () {
    wx.getSystemInfoAsync({
      success: (res) => {
        this.globalData.windowHeight = res.windowHeight
      },
    })
    // 使用云服务
    if(!wx.cloud){
      console.error("请更新基础库")
    }else{
      wx.cloud.init({
        env:"cloud1-8gpufcwyff199aa0",
        traceUser:true
      })
    }
  }
})